package cn.jiaqiang.chatgpt.data.domain.auth.repository;

/**
 * @description 认证仓储服务
 */
public interface IAuthRepository {

    String getOpenIdByUserCode(String code);

    void removeCodeAndUserId(String code,  String userId, String openId);

    String getRedisCodeByUSerId(String userId);

    String getUserIdByOpenId(String openId);
}
